package com.zt.yongxinbao.mapper;

import com.zt.yongxinbao.entity.EvaluationGoods;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface EvaluationGoodsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(EvaluationGoods record);

    int insertSelective(EvaluationGoods record);

    EvaluationGoods selectByPrimaryKey(Integer id);
    List<EvaluationGoods> selectByGoodsName(String goodsTitle);
    List<EvaluationGoods> selectByGoodsAndCustomerName(String goodsTitle,String customerName);
    int updateByPrimaryKeySelective(EvaluationGoods record);

    int updateByPrimaryKey(EvaluationGoods record);
}